package com.situ.student.service;

import java.util.List;
import java.util.Map;

import com.situ.student.entity.Banji;
import com.situ.student.entity.PageBean;

public interface IBanjiService {
	/*展示*/
	public abstract List<Banji> list();
	/*根据id删除*/
	public abstract boolean deleteById(Integer id);
	/*插入数据*/
	public abstract boolean insert(Banji banji);
	/*修改前，查找数据*/
	public abstract Banji findById(Integer id);
	/*修改*/
	public abstract boolean update(Banji banji);
	/*批量删除*/
	public abstract boolean deleteAll(String[] selectIds);
	/*分页*/
	public abstract PageBean<Map<String, Object>> getPagBean(int pageNo, int pageSize);
	//添加避免班级重复
	public abstract boolean checkName(String name);



	
}
